WooCommerce\PayPalCommerce\Subscription\SubscriptionModule D

Total Complexity 134
Dependencies 29
Dependents 0
Total lines 1,040
Lines of code 733
Logical lines of code 386
Comment lines 173
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
subscriptions_api_integration()
D
15
56 321
run()
D
21
35 219
update_subscription_product_meta()
A
52 10 24
display_saved_credit_cards()
A
48 9 36
display_saved_paypal_payments()
A
49 9 31
render_paypal_subscription_fields()
A
42 6 52
add_payment_token_id()
S
55 4 20
renew()
S
68 2 7
set_product_config()
S
59 1 15
setup()
S
71 1 6
getKey()
S
91 1 2